﻿@using OASystem.Model;
@using OASystem.Models;
@{
    ViewBag.Title = "Home Page";
    var admin = AdminContext.context.adminUser;
}
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>任务详情</title>
    <link href="~/css/tail.css" rel="stylesheet" type="text/css" />
    <link href="~/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="~/layui/css/modules/layer/default/layer.css" rel="stylesheet" />
    <script src="~/layui/layui.js"></script>
    <script src="~/layui/lay/modules/layer.js"></script>
    <script src="~/Scripts/jquery-3.3.1.js"></script>
    <script src="~/JS2/Recode_tail01.js"></script>
</head>
<body>
    <!--<div class="title"><h2>通知详情</h2></div>-->
    <div>
        <div class="top">
            <div>
                <div class="top_out">
                    <table class="table">
                        <tbody>
                            <tr>
                                <td style="border-top: none">任务标题：<i class="i_start"></i></td>
                                <td colspan="6" style="text-align: left;border-top: none"><input type="text" name="name" minlength="2" required id="recodeTit"></td>
                            </tr>
                            <tr>
                                <td>发布人：</td>
                                <td colspan="1" style="text-align: left"><input type="text" class="long_text" id="person" value="@admin.UserName"></td>
                                <td>部  门：</td>
                                <td colspan="3" style="text-align: left">
                                    <select id="role" class="role">
                                        @if (ViewBag.Liat != null)
                                        {
                                            foreach (Departinfo j in ViewBag.Liat)
                                            {
                                                <option value="@j.DepartId">@j.DepartName</option>
                                            }
                                        }
                                    </select>
                                </td>

                            </tr>
                            <tr>
                                <td>执行时间：</td>
                                <td style="text-align: left"><input type="text" id="demo"></td>
                                <td>执行人：</td>
                                <td colspan="3" style="text-align: left">
                                    <select id="dole">
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td style="line-height: 240px">发布内容：</td>
                                <td colspan="8" style="text-align: left"><textarea id="note" style="width: 100%;height: 240px"></textarea></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="bot_btn">
                <input class="btn" type="button" id="Addas" value="保存" />
                <button class="btn btn1"><a href="~/Home/Recode" target="right">返回</a></button>
            </div>
        </div>
    </div>
</body>
</html>